<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
		
<!-- 	<ui:include src="utilidades/header.xhtml"/> -->
	
	<body>
		<fieldset style="background-color:#FFFFFF; width:auto">
        <legend>Login</legend>
			<h:form>
				<table border="0" width="50%" align="center">
				
					<tr>
						<td colspan="2" align="center">#{loginMBean.result} &nbsp;</td>
					</tr>					
					<tr>
						<td colspan="2">&nbsp;</td>
					</tr>			
					
					<tr>
						<td bgcolor="#e1e1e1">usu&aacute;rio:</td>
						<td bgcolor="#e0e0e0"><h:inputText id="usuario" value="#{loginMBean.usuario}" /></td>
					</tr>
					<tr>
						<td bgcolor="#e1e1e1">senha:</td>
						<td bgcolor="#e0e0e0"><h:inputSecret id="senha" value="#{loginMBean.senha}" /></td>
					</tr>
					
					<tr>
						<td>&nbsp;</td>
						<td>
							<h:commandButton action="#{loginMBean.login}" value="login" />
						</td>
					</tr>
				</table>
			</h:form>		
		</fieldset>
	</body>	
</html>

